const defaultWidth = 100
export const tableHeaders = [
  {
    name: '角色名称',
    key: 'roleName',
    wid: defaultWidth
  },
  {
    name: '创建人',
    key: 'createBy',
    wid: defaultWidth
  },
  {
    name: '创建时间',
    key: 'createTime',
    wid: 140
  },
  {
    name: '修改人',
    key: 'updateBy',
    wid: defaultWidth
  },
  {
    name: '修改时间',
    key: 'updateTime',
    wid: 140
  },
  {
    name: '操作',
    wid: 200,
    fixed: 'right',
    showTooltip: false,
    slotName: 'operate'
  }
]
export const detailHeaders = [
  {
    name: '用户工号',
    key: 'employeeId',
    wid: defaultWidth
  },
  {
    name: '用户名',
    key: 'userName',
    wid: defaultWidth
  },
  {
    name: '手机号',
    key: 'phone',
    wid: 120
  },
  {
    name: '部门',
    key: 'department',
    wid: defaultWidth
  },
  {
    name: '职称',
    key: 'professionalTitles',
    wid: defaultWidth
  }
]
export const chooseHeaders = [
  {
    name: '用户工号',
    key: 'employeeId',
    wid: defaultWidth
  },
  {
    name: '用户名',
    key: 'userName',
    wid: defaultWidth
  },
  {
    name: '手机号',
    key: 'phone',
    wid: 120
  },
  {
    name: '部门',
    key: 'departmentDescr',
    wid: defaultWidth
  }
]
export const searchItem = [
  {
    name: '角色名称',
    key: 'roleName'
  }
]
